﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kindohm.Life.Library
{
    public class MutatingEventArgs : EventArgs
    {
        private string property;
        private double factor;
        private int newValue;
        private int oldValue;

        public MutatingEventArgs(string propertyName, double factor, int oldValue, int newValue)
        {
            this.newValue = newValue;
            this.oldValue = oldValue;
            this.property = propertyName;
            this.factor = factor;
        }

        public int OldValue
        {
            get { return this.oldValue; }
        }

        public int NewValue
        {
            get { return this.newValue; }
        }

        public string Property
        {
            get { return this.property; }
        }

        public double Factor
        {
            get { return this.factor; }
        }
    }

}
